body {
  margin: 0;
  padding: 0;
  font-family: Sans-Serif;
}

.legend {
  margin: 10px;
}

.dot {
  margin-right: 10px;
}

.dot::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-bottom: -2px;
  margin-right: 5px;
  border-radius: 10px;
  display: inline-block;
  background: red;
}

.dot.control::before {
  background: rgba(0, 0, 255, 0.4);
}

.dot.interpolated::before {
  background: rgba(255, 0, 0, 0.6);
}

.container {
  position: relative;
  margin: 10px;
  box-shadow: 0 0 0 1px #ccc;
  border-radius: 8px;
  height: 200px;
  overflow: hidden;
}

canvas {
  transform: scale(0.5);
  transform-origin: top left;
}
